\(\int \frac {d+e x^2+f x^4}{x^3 (a+b x^2+c x^4)} \, dx\) [52]
Optimal result
Integrand size = 30, antiderivative size = 118 \[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=-\frac {d}{2 a x^2}-\frac {\left (b^2 d-a b e-2 a (c d-a f)\right ) \text {arctanh}\left (\frac {b+2 c x^2}{\sqrt {b^2-4 a c}}\right )}{2 a^2 \sqrt {b^2-4 a c}}-\frac {(b d-a e) \log (x)}{a^2}+\frac {(b d-a e) \log \left (a+b x^2+c x^4\right )}{4 a^2}
\]
[Out]
-1/2*d/a/x^2-(-a*e+b*d)*ln(x)/a^2+1/4*(-a*e+b*d)*ln(c*x^4+b*x^2+a)/a^2-1/2*(b^2*d-a*b*e-2*a*(-a*f+c*d))*arctan
h((2*c*x^2+b)/(-4*a*c+b^2)^(1/2))/a^2/(-4*a*c+b^2)^(1/2)
Rubi [A] (verified)
Time = 0.18 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.00, number of
steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1677, 1642, 648, 632, 212,
642} \[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=-\frac {\text {arctanh}\left (\frac {b+2 c x^2}{\sqrt {b^2-4 a c}}\right ) \left (-a b e-2 a (c d-a f)+b^2 d\right )}{2 a^2 \sqrt {b^2-4 a c}}+\frac {(b d-a e) \log \left (a+b x^2+c x^4\right )}{4 a^2}-\frac {\log (x) (b d-a e)}{a^2}-\frac {d}{2 a x^2}
\]
[In]
Int[(d + e*x^2 + f*x^4)/(x^3*(a + b*x^2 + c*x^4)),x]
[Out]
-1/2*d/(a*x^2) - ((b^2*d - a*b*e - 2*a*(c*d - a*f))*ArcTanh[(b + 2*c*x^2)/Sqrt[b^2 - 4*a*c]])/(2*a^2*Sqrt[b^2
- 4*a*c]) - ((b*d - a*e)*Log[x])/a^2 + ((b*d - a*e)*Log[a + b*x^2 + c*x^4])/(4*a^2)
Rule 212
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
/; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])
Rule 632
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]
Rule 642
Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]
Rule 648
Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] && !NiceSqrtQ[b^2 - 4*a*c]
Rule 1642
Int[(Pq_)*((d_.) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegra
nd[(d + e*x)^m*Pq*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && PolyQ[Pq, x] && IGtQ[p, -2]
Rule 1677
Int[(Pq_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Dist[1/2, Subst[Int[x^((m - 1)/2)
*SubstFor[x^2, Pq, x]*(a + b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x] && PolyQ[Pq, x^2] && Inte
gerQ[(m - 1)/2]
Rubi steps \begin{align*}
\text {integral}& = \frac {1}{2} \text {Subst}\left (\int \frac {d+e x+f x^2}{x^2 \left (a+b x+c x^2\right )} \, dx,x,x^2\right ) \\ & = \frac {1}{2} \text {Subst}\left (\int \left (\frac {d}{a x^2}+\frac {-b d+a e}{a^2 x}+\frac {b^2 d-a b e-a (c d-a f)+c (b d-a e) x}{a^2 \left (a+b x+c x^2\right )}\right ) \, dx,x,x^2\right ) \\ & = -\frac {d}{2 a x^2}-\frac {(b d-a e) \log (x)}{a^2}+\frac {\text {Subst}\left (\int \frac {b^2 d-a b e-a (c d-a f)+c (b d-a e) x}{a+b x+c x^2} \, dx,x,x^2\right )}{2 a^2} \\ & = -\frac {d}{2 a x^2}-\frac {(b d-a e) \log (x)}{a^2}+\frac {(b d-a e) \text {Subst}\left (\int \frac {b+2 c x}{a+b x+c x^2} \, dx,x,x^2\right )}{4 a^2}+\frac {\left (b^2 d-a b e-2 a (c d-a f)\right ) \text {Subst}\left (\int \frac {1}{a+b x+c x^2} \, dx,x,x^2\right )}{4 a^2} \\ & = -\frac {d}{2 a x^2}-\frac {(b d-a e) \log (x)}{a^2}+\frac {(b d-a e) \log \left (a+b x^2+c x^4\right )}{4 a^2}-\frac {\left (b^2 d-a b e-2 a (c d-a f)\right ) \text {Subst}\left (\int \frac {1}{b^2-4 a c-x^2} \, dx,x,b+2 c x^2\right )}{2 a^2} \\ & = -\frac {d}{2 a x^2}-\frac {\left (b^2 d-a b e-2 a (c d-a f)\right ) \tanh ^{-1}\left (\frac {b+2 c x^2}{\sqrt {b^2-4 a c}}\right )}{2 a^2 \sqrt {b^2-4 a c}}-\frac {(b d-a e) \log (x)}{a^2}+\frac {(b d-a e) \log \left (a+b x^2+c x^4\right )}{4 a^2} \\
\end{align*}
Mathematica [A] (verified)
Time = 0.09 (sec) , antiderivative size = 203, normalized size of antiderivative = 1.72
\[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\frac {-\frac {2 a d}{x^2}+4 (-b d+a e) \log (x)+\frac {\left (b^2 d+b \left (\sqrt {b^2-4 a c} d-a e\right )+a \left (-2 c d-\sqrt {b^2-4 a c} e+2 a f\right )\right ) \log \left (b-\sqrt {b^2-4 a c}+2 c x^2\right )}{\sqrt {b^2-4 a c}}+\frac {\left (-b^2 d+b \left (\sqrt {b^2-4 a c} d+a e\right )-a \left (-2 c d+\sqrt {b^2-4 a c} e+2 a f\right )\right ) \log \left (b+\sqrt {b^2-4 a c}+2 c x^2\right )}{\sqrt {b^2-4 a c}}}{4 a^2}
\]
[In]
Integrate[(d + e*x^2 + f*x^4)/(x^3*(a + b*x^2 + c*x^4)),x]
[Out]
((-2*a*d)/x^2 + 4*(-(b*d) + a*e)*Log[x] + ((b^2*d + b*(Sqrt[b^2 - 4*a*c]*d - a*e) + a*(-2*c*d - Sqrt[b^2 - 4*a
*c]*e + 2*a*f))*Log[b - Sqrt[b^2 - 4*a*c] + 2*c*x^2])/Sqrt[b^2 - 4*a*c] + ((-(b^2*d) + b*(Sqrt[b^2 - 4*a*c]*d
+ a*e) - a*(-2*c*d + Sqrt[b^2 - 4*a*c]*e + 2*a*f))*Log[b + Sqrt[b^2 - 4*a*c] + 2*c*x^2])/Sqrt[b^2 - 4*a*c])/(4
*a^2)
Maple [A] (verified)
Time = 0.10 (sec) , antiderivative size = 132, normalized size of antiderivative = 1.12
| | |
method | result | size |
| | |
default |
\(-\frac {d}{2 a \,x^{2}}+\frac {\left (a e -b d \right ) \ln \left (x \right )}{a^{2}}+\frac {\frac {\left (-a c e +b c d \right ) \ln \left (c \,x^{4}+b \,x^{2}+a \right )}{2 c}+\frac {2 \left (f \,a^{2}-a b e -a c d +b^{2} d -\frac {\left (-a c e +b c d \right ) b}{2 c}\right ) \arctan \left (\frac {2 c \,x^{2}+b}{\sqrt {4 a c -b^{2}}}\right )}{\sqrt {4 a c -b^{2}}}}{2 a^{2}}\) |
\(132\) |
risch |
\(-\frac {d}{2 a \,x^{2}}+\frac {\ln \left (x \right ) e}{a}-\frac {\ln \left (x \right ) b d}{a^{2}}+\frac {\left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (\left (4 a^{3} c -a^{2} b^{2}\right ) \textit {\_Z}^{2}+\left (4 a^{2} c e -a \,b^{2} e -4 a b c d +b^{3} d \right ) \textit {\_Z} +a^{2} f^{2}-a b e f -2 a c d f +e^{2} a c +b^{2} d f -b c d e +c^{2} d^{2}\right )}{\sum }\textit {\_R} \ln \left (\left (\left (10 a^{3} c -3 a^{2} b^{2}\right ) \textit {\_R}^{2}+\left (-a^{2} b f +5 a^{2} c e -4 a b c d \right ) \textit {\_R} +2 a^{2} f^{2}-4 a c d f +2 c^{2} d^{2}\right ) x^{2}-a^{3} b \,\textit {\_R}^{2}+\left (-a^{3} f +2 a^{2} b e +a^{2} c d -2 a \,b^{2} d \right ) \textit {\_R} +2 a^{2} e f -2 a b d f -2 a c d e +2 b c \,d^{2}\right )\right )}{2}\) |
\(262\) |
| | |
|
|
|
[In]
int((f*x^4+e*x^2+d)/x^3/(c*x^4+b*x^2+a),x,method=_RETURNVERBOSE)
[Out]
-1/2*d/a/x^2+(a*e-b*d)/a^2*ln(x)+1/2/a^2*(1/2*(-a*c*e+b*c*d)/c*ln(c*x^4+b*x^2+a)+2*(f*a^2-a*b*e-a*c*d+b^2*d-1/
2*(-a*c*e+b*c*d)*b/c)/(4*a*c-b^2)^(1/2)*arctan((2*c*x^2+b)/(4*a*c-b^2)^(1/2)))
Fricas [A] (verification not implemented)
none
Time = 0.55 (sec) , antiderivative size = 399, normalized size of antiderivative = 3.38
\[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\left [-\frac {{\left (a b e - 2 \, a^{2} f - {\left (b^{2} - 2 \, a c\right )} d\right )} \sqrt {b^{2} - 4 \, a c} x^{2} \log \left (\frac {2 \, c^{2} x^{4} + 2 \, b c x^{2} + b^{2} - 2 \, a c - {\left (2 \, c x^{2} + b\right )} \sqrt {b^{2} - 4 \, a c}}{c x^{4} + b x^{2} + a}\right ) - {\left ({\left (b^{3} - 4 \, a b c\right )} d - {\left (a b^{2} - 4 \, a^{2} c\right )} e\right )} x^{2} \log \left (c x^{4} + b x^{2} + a\right ) + 4 \, {\left ({\left (b^{3} - 4 \, a b c\right )} d - {\left (a b^{2} - 4 \, a^{2} c\right )} e\right )} x^{2} \log \left (x\right ) + 2 \, {\left (a b^{2} - 4 \, a^{2} c\right )} d}{4 \, {\left (a^{2} b^{2} - 4 \, a^{3} c\right )} x^{2}}, \frac {2 \, {\left (a b e - 2 \, a^{2} f - {\left (b^{2} - 2 \, a c\right )} d\right )} \sqrt {-b^{2} + 4 \, a c} x^{2} \arctan \left (-\frac {{\left (2 \, c x^{2} + b\right )} \sqrt {-b^{2} + 4 \, a c}}{b^{2} - 4 \, a c}\right ) + {\left ({\left (b^{3} - 4 \, a b c\right )} d - {\left (a b^{2} - 4 \, a^{2} c\right )} e\right )} x^{2} \log \left (c x^{4} + b x^{2} + a\right ) - 4 \, {\left ({\left (b^{3} - 4 \, a b c\right )} d - {\left (a b^{2} - 4 \, a^{2} c\right )} e\right )} x^{2} \log \left (x\right ) - 2 \, {\left (a b^{2} - 4 \, a^{2} c\right )} d}{4 \, {\left (a^{2} b^{2} - 4 \, a^{3} c\right )} x^{2}}\right ]
\]
[In]
integrate((f*x^4+e*x^2+d)/x^3/(c*x^4+b*x^2+a),x, algorithm="fricas")
[Out]
[-1/4*((a*b*e - 2*a^2*f - (b^2 - 2*a*c)*d)*sqrt(b^2 - 4*a*c)*x^2*log((2*c^2*x^4 + 2*b*c*x^2 + b^2 - 2*a*c - (2
*c*x^2 + b)*sqrt(b^2 - 4*a*c))/(c*x^4 + b*x^2 + a)) - ((b^3 - 4*a*b*c)*d - (a*b^2 - 4*a^2*c)*e)*x^2*log(c*x^4
+ b*x^2 + a) + 4*((b^3 - 4*a*b*c)*d - (a*b^2 - 4*a^2*c)*e)*x^2*log(x) + 2*(a*b^2 - 4*a^2*c)*d)/((a^2*b^2 - 4*a
^3*c)*x^2), 1/4*(2*(a*b*e - 2*a^2*f - (b^2 - 2*a*c)*d)*sqrt(-b^2 + 4*a*c)*x^2*arctan(-(2*c*x^2 + b)*sqrt(-b^2
+ 4*a*c)/(b^2 - 4*a*c)) + ((b^3 - 4*a*b*c)*d - (a*b^2 - 4*a^2*c)*e)*x^2*log(c*x^4 + b*x^2 + a) - 4*((b^3 - 4*a
*b*c)*d - (a*b^2 - 4*a^2*c)*e)*x^2*log(x) - 2*(a*b^2 - 4*a^2*c)*d)/((a^2*b^2 - 4*a^3*c)*x^2)]
Sympy [F(-1)]
Timed out. \[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\text {Timed out}
\]
[In]
integrate((f*x**4+e*x**2+d)/x**3/(c*x**4+b*x**2+a),x)
[Out]
Timed out
Maxima [F(-2)]
Exception generated. \[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\text {Exception raised: ValueError}
\]
[In]
integrate((f*x^4+e*x^2+d)/x^3/(c*x^4+b*x^2+a),x, algorithm="maxima")
[Out]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a*c-b^2>0)', see `assume?` f
or more deta
Giac [A] (verification not implemented)
none
Time = 0.63 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.11
\[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\frac {{\left (b d - a e\right )} \log \left (c x^{4} + b x^{2} + a\right )}{4 \, a^{2}} - \frac {{\left (b d - a e\right )} \log \left (x^{2}\right )}{2 \, a^{2}} + \frac {{\left (b^{2} d - 2 \, a c d - a b e + 2 \, a^{2} f\right )} \arctan \left (\frac {2 \, c x^{2} + b}{\sqrt {-b^{2} + 4 \, a c}}\right )}{2 \, \sqrt {-b^{2} + 4 \, a c} a^{2}} + \frac {b d x^{2} - a e x^{2} - a d}{2 \, a^{2} x^{2}}
\]
[In]
integrate((f*x^4+e*x^2+d)/x^3/(c*x^4+b*x^2+a),x, algorithm="giac")
[Out]
1/4*(b*d - a*e)*log(c*x^4 + b*x^2 + a)/a^2 - 1/2*(b*d - a*e)*log(x^2)/a^2 + 1/2*(b^2*d - 2*a*c*d - a*b*e + 2*a
^2*f)*arctan((2*c*x^2 + b)/sqrt(-b^2 + 4*a*c))/(sqrt(-b^2 + 4*a*c)*a^2) + 1/2*(b*d*x^2 - a*e*x^2 - a*d)/(a^2*x
^2)
Mupad [B] (verification not implemented)
Time = 12.76 (sec) , antiderivative size = 4437, normalized size of antiderivative = 37.60
\[
\int \frac {d+e x^2+f x^4}{x^3 \left (a+b x^2+c x^4\right )} \, dx=\text {Too large to display}
\]
[In]
int((d + e*x^2 + f*x^4)/(x^3*(a + b*x^2 + c*x^4)),x)
[Out]
(log(x)*(a*e - b*d))/a^2 - d/(2*a*x^2) - (log(((c^2*(a*e - b*d)*(a*f - c*d)^2)/a^3 - ((b*d - a*e + a^2*(-(b^2*
d + 2*a^2*f - a*b*e - 2*a*c*d)^2/(a^4*(4*a*c - b^2)))^(1/2))*(((b*d - a*e + a^2*(-(b^2*d + 2*a^2*f - a*b*e - 2
*a*c*d)^2/(a^4*(4*a*c - b^2)))^(1/2))*((2*c^2*x^2*(10*a*c^2*d + 4*a*b^2*f + b^2*c*d - 10*a^2*c*f - 5*a*b*c*e))
/a + (4*b*c^2*(b^2*d + a^2*f - a*b*e - a*c*d))/a + (b*c^2*(b*d - a*e + a^2*(-(b^2*d + 2*a^2*f - a*b*e - 2*a*c*
d)^2/(a^4*(4*a*c - b^2)))^(1/2))*(a*b + 3*b^2*x^2 - 10*a*c*x^2))/a^2))/(4*a^2) + (c^2*(a*f - c*d)*(4*b^2*d + a
^2*f - 4*a*b*e - a*c*d))/a^2 - (c^2*x^2*(a*f - c*d)*(a*b*f + 5*a*c*e - 6*b*c*d))/a^2))/(4*a^2) + (c^2*x^2*(a*f
- c*d)^3)/a^3)*((c^2*(a*e - b*d)*(a*f - c*d)^2)/a^3 - ((a*e - b*d + a^2*(-(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d)
^2/(a^4*(4*a*c - b^2)))^(1/2))*(((a*e - b*d + a^2*(-(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d)^2/(a^4*(4*a*c - b^2)))
^(1/2))*((2*c^2*x^2*(10*a*c^2*d + 4*a*b^2*f + b^2*c*d - 10*a^2*c*f - 5*a*b*c*e))/a + (4*b*c^2*(b^2*d + a^2*f -
a*b*e - a*c*d))/a - (b*c^2*(a*e - b*d + a^2*(-(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d)^2/(a^4*(4*a*c - b^2)))^(1/2
))*(a*b + 3*b^2*x^2 - 10*a*c*x^2))/a^2))/(4*a^2) - (c^2*(a*f - c*d)*(4*b^2*d + a^2*f - 4*a*b*e - a*c*d))/a^2 +
(c^2*x^2*(a*f - c*d)*(a*b*f + 5*a*c*e - 6*b*c*d))/a^2))/(4*a^2) + (c^2*x^2*(a*f - c*d)^3)/a^3))*(2*b^3*d - 2*
a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*(16*a^3*c - 4*a^2*b^2)) - (atan((16*a^6*(4*a*c - b^2)^(3/2)*(x^2*((((c^5*
d^3 - a^3*c^2*f^3 + 3*a^2*c^3*d*f^2 - 3*a*c^4*d^2*f)/a^3 + (((a^3*b*c^2*f^2 + 6*a*b*c^4*d^2 - 5*a^2*c^4*d*e +
5*a^3*c^3*e*f - 7*a^2*b*c^3*d*f)/a^3 + (((20*a^3*c^4*d - 20*a^4*c^3*f + 2*a^2*b^2*c^3*d + 8*a^3*b^2*c^2*f - 10
*a^3*b*c^3*e)/a^3 + ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*a^3*(16
*a^3*c - 4*a^2*b^2)))*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*(16*a^3*c - 4*a^2*b^2)))*(2*b^3*d - 2*
a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*(16*a^3*c - 4*a^2*b^2)) - (((((20*a^3*c^4*d - 20*a^4*c^3*f + 2*a^2*b^2*c^
3*d + 8*a^3*b^2*c^2*f - 10*a^3*b*c^3*e)/a^3 + ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*
e - 8*a*b*c*d))/(2*a^3*(16*a^3*c - 4*a^2*b^2)))*(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d))/(4*a^2*(4*a*c - b^2)^(1/2
)) + ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8
*a*b*c*d))/(8*a^5*(4*a*c - b^2)^(1/2)*(16*a^3*c - 4*a^2*b^2)))*(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d))/(4*a^2*(4*
a*c - b^2)^(1/2)) - ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d)^2*(2*b^3*d - 2*a*b^2*
e + 8*a^2*c*e - 8*a*b*c*d))/(32*a^7*(4*a*c - b^2)*(16*a^3*c - 4*a^2*b^2)))*(3*b^4*d + a^2*c^2*d + a^2*b^2*f -
3*a*b^3*e - a^3*c*f - 9*a*b^2*c*d + 8*a^2*b*c*e))/(8*a^3*c^2*(a^4*f^2 - 6*b^4*d^2 + 25*a^3*c*e^2 - 6*a^2*b^2*e
^2 + a^2*c^2*d^2 + 12*a*b^3*d*e - a^3*b*e*f - 2*a^3*c*d*f + 24*a*b^2*c*d^2 + a^2*b^2*d*f - 49*a^2*b*c*d*e)) -
(((((((20*a^3*c^4*d - 20*a^4*c^3*f + 2*a^2*b^2*c^3*d + 8*a^3*b^2*c^2*f - 10*a^3*b*c^3*e)/a^3 + ((40*a^4*b*c^3
- 12*a^3*b^3*c^2)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*a^3*(16*a^3*c - 4*a^2*b^2)))*(b^2*d + 2*a^
2*f - a*b*e - 2*a*c*d))/(4*a^2*(4*a*c - b^2)^(1/2)) + ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(b^2*d + 2*a^2*f - a*b*
e - 2*a*c*d)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(8*a^5*(4*a*c - b^2)^(1/2)*(16*a^3*c - 4*a^2*b^2))
)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*(16*a^3*c - 4*a^2*b^2)) + (((a^3*b*c^2*f^2 + 6*a*b*c^4*d^2
- 5*a^2*c^4*d*e + 5*a^3*c^3*e*f - 7*a^2*b*c^3*d*f)/a^3 + (((20*a^3*c^4*d - 20*a^4*c^3*f + 2*a^2*b^2*c^3*d + 8
*a^3*b^2*c^2*f - 10*a^3*b*c^3*e)/a^3 + ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a
*b*c*d))/(2*a^3*(16*a^3*c - 4*a^2*b^2)))*(2*b^3*d - 2*a*b^2*e + 8*a^2*c*e - 8*a*b*c*d))/(2*(16*a^3*c - 4*a^2*b
^2)))*(b^2*d + 2*a^2*f - a*b*e - 2*a*c*d))/(4*a^2*(4*a*c - b^2)^(1/2)) - ((40*a^4*b*c^3 - 12*a^3*b^3*c^2)*(b^2
*d + 2*a^2*f - a*b*e - 2*a*c*d)^3)/(64*a^9*(4*a*c - b^2)^(3/2)))*(6*b^5*d + 2*a^2*b^3*f - 20*a^3*c^2*e - 6*a*b
^4*e - 30*a*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